<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>JSTL</title>
</head>
<body>
<%-- żeby działało trzeba skopiować jstl.jar i standard.jar do WEB_INF/lib --%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<c:set var="lista" value="ala,ola,ela,ula"/>
<table border=1">
<c:forTokens var="x" items="${lista}" delims=","> 
  <tr><td>${x}</td></tr>
</c:forTokens>
</table>

<c:import url="Pozdrawiak1.jsp" var="y">
<c:param name="kto" value="ala"/>
</c:import>
<h3>Wartość y:</h3>
${ y }

</body>
</html>